#include "../_includes.h"

void handle_arm()
{
  if(abs(ctrl.Axis2.position()) < 10)
  {
    arm.stop(brakeType::hold);
  }
  else
  {
      double armspeed = ctrl.Axis2.position();
      mtr_arml.spin(directionType::fwd, armspeed, velocityUnits::pct);
      mtr_armr.spin(directionType::fwd, armspeed, velocityUnits::pct);
  }
}